Digital pixel with extended dynamic range

ABSTRACT

Examples of an apparatus are disclosed. In some example, an apparatus may include a photodiode, a first charge storage unit configured to store charges generated by the photodiode, the first charge storage unit having a first capacity; and a second charge storage unit configured to store charges generated by the photodiode, the second charge storage unit having a second capacity greater than the first capacity. The apparatus may further include an analog-to-digital converter (ADC) circuit configured to measure a first quantity of charges stored in the first charge storage unit and a second quantity of charges stored in the second charge storage unit, and to generate a digital output representing an intensity of light incident on the photodiode based on a first count representing the first quantity of charges or a second count representing the second quantity of charges.

RELATED APPLICATION

This patent application claims priority to U.S. Provisional Patent Application No. 62/579,079, filed Oct. 30, 2017, entitled “DIGITAL PIXEL WITH EXTENDED DYNAMIC RANGE,” which is assigned to the assignee hereof and is incorporated herein by reference in its entirety for all purposes.

BACKGROUND

The disclosure relates generally to image sensors, and more specifically to pixel cell structure including interfacing circuitries for determining light intensity for image generation.

A typical image sensor includes a photodiode to sense incident light by converting photons into charges (e.g., electrons or holes). The image sensor further includes a floating node configured as a capacitor to collect the charges generated by the photodiode during an exposure period. The collected charges can develop a voltage at the capacitor. The voltage can be buffered and fed to an analog-to-digital converter (ADC), which can convert the voltage into a digital value representing the intensity of the incident light.

SUMMARY

The present disclosure relates to image sensors. More specifically, and without limitation, this disclosure relates to using a stack structure for forming a pixel cell. This disclosure also relates to operating the circuitries of a pixel cells to measure the intensity of incident lights in two different measurement modes.

In one example, an apparatus is provided. The apparatus may include a photodiode, a first charge storage unit, and a second charge storage unit. Both of the first charge storage unit and the second charge storage unit are configured to store charges generated by the photodiode. The first charge storage unit has a first capacity, whereas the second charge storage unit has a second capacity greater than the first capacity. The apparatus may further include an analog-to-digital converter (ADC) circuit configured to, in a first mode of measurement, generate a first ramping voltage using a first counter, and compare a first voltage representing a first quantity of charges stored in the first charge storage unit against the first ramping voltage to generate a first decision output, the first decision output setting a first count at the first counter. The ADC circuit is also configured to, in a second mode of measurement, generate a second ramping voltage using a second counter; and compare a second voltage representing a second quantity of charges stored in the second charge storage unit against the second ramping voltage to generate a second decision output, the second decision output setting a second count at the second counter. The ADC circuit is also configured to generate a digital output representing an intensity of light incident on the photodiode based on either the first count or the second count.

In some aspects, the apparatus further comprises a transfer gate coupled between the first charge storage unit and the second charge storage unit. In the second mode of measurement, the ADC circuit is configured to control the transfer gate to prevent the first quantity of charges from moving through the transfer gate to the second charge storage unit; and compare, using a first comparator, the second voltage developed at the second charge storage unit against the second ramping voltage to generate the second count.

In some aspects, in the first mode of measurement, the ADC circuit is configured to control the transfer gate to enable the first quantity of charges to move through the transfer gate to the second charge storage unit. The ADC circuit is also configured to compare, using a second comparator, the first voltage developed at the second charge storage unit against the first ramping voltage to generate the first count.

In some aspects, the ADC circuit is configured to reset the second charge storage unit between the second mode of measurement and the first mode of measurement.

In some aspects, the ADC circuit comprises a third capacitor coupled between the second charge storage unit and at least one of the first comparator or the second comparator. The third capacitor is configured to store charges during the resetting of the second charge storage unit to compensate for at least one of: reset noise introduced to the second charge storage unit or an offset voltage of the at least one of the first comparator or the second comparator.

In some aspects, the second capacity of the second charge storage unit is configurable. The ADC circuit is configured to reduce the second capacity at the first mode of measurement and to increase the second capacity at the second mode of measurement.

In some aspects, the ADC circuit is configured to perform the first mode of measurement after the second mode of measurement. The ADC circuit is further configured to: determine, based on the first decision output and the second decision output, to store one of the first count or the second count in a memory; and provide the stored first count or second count in the memory as the digital output representing the intensity of the light.

In some aspects, at least one of the first counter or the second counter is configured to generate, respectively, at least one of the first ramping voltage or the second ramping voltage to have a non-uniform ramping slope with respect to time.

In some aspects, the ADC circuit is further configured to, in a third mode of measurement: compare the second voltage against a fixed threshold to generate a third decision output indicating whether the second voltage crosses the fixed threshold; and generate the digital output representing an intensity of light incident on the photodiode based a timing of the third decision output. In some aspects, the ADC circuit is further configured to, in the third mode of measurement: start a third counter after enabling the photodiode to transfer charges to the second charge storage unit, and set a third count at the third counter with the third decision output. The digital output representing the intensity of the light can be generated based on the third count.

In some aspects, the ADC circuit is configured to perform the third mode of measurement before the second mode of measurement and the first mode of measurement. The ADC circuit is further configured to: store the third count in a memory; determine, based on the third decision output, not to overwrite the third count with the first count or the second count in the memory; and provide the stored third count in the memory as the digital output representing the intensity of the light.

In some aspects, the first counter may comprise the second counter. The first comparator may also comprise the second comparator.

In another example, a method is provided. The method comprises exposing a photodiode to incident light to cause the photodiode to generate charges, wherein the photodiode is coupled with a first charge storage unit and a second charge storage unit, the first charge storage unit having a first capacity and the second charge storage unit having a second capacity greater than the first capacity. The method further comprises performing a first mode of measurement. The first mode of measurement comprises generating a first ramping voltage using a first counter, and comparing a first voltage representing a first quantity of charges stored in the first charge storage unit against the first ramping voltage, to generate a first decision output, the first decision output setting a first count at the first counter. The method further comprises performing a second mode of measurement. The second mode of measurement comprises generating a second ramping voltage using a second counter; and comparing a second voltage representing a second quantity of charges stored in the second charge storage unit against the second ramping voltage, to generate a second decision output, the second decision output setting a second count at the second counter. The method further comprises generating a digital output representing an intensity of the incident light based on either the first count or the second count.

In some aspects, the first charge storage unit is coupled to second charge storage unit via a transfer gate, and performing the second mode of measurement further comprises: controlling the transfer gate to prevent the first quantity of charges from moving through the transfer gate to the second charge storage unit; and comparing the second voltage developed at the second charge storage unit against the second ramping voltage to generate the second count.

In some aspects, performing the first mode of measurement further comprises: controlling the transfer gate to enable the first quantity of charges to move through the transfer gate to the second charge storage unit; and comparing the first voltage developed at the second charge storage unit against the first ramping voltage to generate the first count.

In some aspects, at least one of the first ramping voltage or the second ramping voltage is generated to have a non-uniform ramping slope with respect to time.

In some aspects, the method may further comprise performing a third mode of measurement. Performing the third mode of measurement may comprise: comparing the second voltage against a fixed threshold to generate a third decision output indicating whether the second voltage crosses the fixed threshold; and generating the digital output representing an intensity of light incident on the photodiode based a timing of the third decision output. The third mode of measurement may be performed before the first mode of measurement and the second mode of measurement are performed.

BRIEF DESCRIPTION OF THE DRAWINGS

Illustrative embodiments are described with reference to the following figures.

FIGS. 1A and 1B are diagrams of an embodiment of a near-eye display.

FIG. 2 is an embodiment of a cross section of the near-eye display.

FIG. 3 illustrates an isometric view of an embodiment of a waveguide display with a single source assembly.

FIG. 4 illustrates a cross section of an embodiment of the waveguide display.

FIG. 5 is a block diagram of an embodiment of a system including the near-eye display.

FIG. 6 illustrates block diagrams of embodiments of a pixel cell.

FIG. 7 illustrates operations for determining light intensities of different ranges by embodiments of FIG. 6.

FIG. 8 illustrates examples of internal components of the pixel cell of FIG. 6.

FIGS. 9A and 9B illustrate example methods for determining a light intensity.

FIGS. 10A and 10B illustrate techniques for performing quantization.

FIG. 11 illustrates block diagrams of an embodiment of a pixel cell.

FIGS. 12A, 12B, 12C, and 12D illustrate example methods for determining light intensity.

FIG. 13 illustrates an example plot of signal-to-noise ratios across a set of incident light intensity ranges achievable by embodiments of the present disclosure.

FIG. 14 illustrates an embodiment of a flowchart of a process for determining a light intensity.

The figures depict embodiments of the present disclosure for purposes of illustration only. One skilled in the art will readily recognize from the following description that alternative embodiments of the structures and methods illustrated may be employed without departing from the principles, or benefits touted, of this disclosure.

In the appended figures, similar components and/or features may have the same reference label. Further, various components of the same type may be distinguished by following the reference label by a dash and a second label that distinguishes among the similar components. If only the first reference label is used in the specification, the description is applicable to any one of the similar components having the same first reference label irrespective of the second reference label.

DETAILED DESCRIPTION

In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of certain inventive embodiments. However, it will be apparent that various embodiments may be practiced without these specific details. The figures and description are not intended to be restrictive.

A typical image sensor includes a photodiode to sense incident light by converting photons into charges (e.g., electrons or holes). The image sensor further includes a floating node configured as a capacitor to collect the charges generated by the photodiode during an exposure period. The collected charges can develop a voltage at the capacitor. The voltage can be buffered and fed to an analog-to-digital converter (ADC), which can convert the voltage into a digital value representing the intensity of the incident light.

The digital value generated by the ADC, which reflects a number of charges stored at the floating node within a certain period, may correlate to the intensity of the incident light. However, the degree of correlation can be affected by different factors. First, the quantity of charges stored in the floating node can be directly related to the intensity of the incident light until the floating node reaches a saturation limit. Beyond the saturation limit, the floating node may be unable to accept additional charges generated by the photodiode, and the additional charges may be leaked and not stored. As a result, the quantity of the charges stored at the floating node may be lower than the quantity of charges actually generated by the photodiode. The saturation limit may determine an upper limit of the measureable light intensity of the image sensor.

Various factors can also set a lower limit of the measureable light intensity of the image sensor. For example, the charges collected at the floating node may include noise charges not related to the intensity of incident light. One source of noise charges can be dark current, which can be leakage currents generated at the p-n junction of the photodiode and at the p-n junctions of other semiconductor devices connected to the capacitor, due to crystallographic defects. The dark currents can flow into the capacitor and add charges which are not correlated to the intensity of the incident light. The dark current generated at the photodiode is typically less than the dark current generated at other semiconductor devices. Another source of noise charges can be due to capacitive coupling with other circuitries. For example, when the ADC circuitries perform read operations to determine the quantity of charges stored in the floating node, the ADC circuitries can introduce noise charges into the floating node through capacitive coupling.

Besides noise charges, the ADC can also introduce measurement errors in determining the quantity of charges. The measurement errors can degrade the degree of correlation between the digital output and the intensity of the incident light. One source of measurement error is quantization error. In a quantization process, a discrete set of quantity levels can be used to represent a continuous set of quantities of charges, with each quantity level representing a pre-determined quantity of charges. The ADC can compare an input quantity of charges against the quantity levels, determine the quantity level that is closest to the input quantity, and output the determined quantity level (e.g., in the form of digital codes representing the quantity level). Quantization error can occur when there is a mismatch between a quantity of charges represented by the quantity level and the input quantity of charges mapped to the quantity level. The quantization error can be reduced with smaller quantization step sizes (e.g., by reducing the difference in charge quantities between two adjacent quantity levels). Other sources of measurement error may also include, for example, device noises (e.g., of the ADC circuitries) and comparator offsets that add to uncertainties in the measurement of the quantity of charges. The noise charges and the ADC measurement errors can define a lower limit of the measureable light intensity of the image sensor. A ratio between the upper limit and the lower limit defines a dynamic range, which may set a range of operational light intensities for the image sensor.

An image can be generated based on intensity data provided by an array of image sensors, with each image sensor forming a pixel cell that corresponds to a pixel of the image. The array of pixel cells can be arranged into rows and columns, with each pixel cell generating a voltage representing the intensity for a pixel associated with a particular location in the image. A number of pixels included in the array can determine a resolution of the generated image. The voltage can be converted into digital intensity data by an ADC, and an image can be reconstructed based on the digital intensity data of each pixel. With current technologies, some of the pixel cells may have to take a turn in accessing the ADCs to generate digital intensity data. For example, a set of ADCs is provided to process, simultaneously, the voltages generated by each pixel cell within one row. But adjacent rows of pixel cells may have to take a turn in accessing the set of ADCs. In one example, to generate an image, the pixel array can be operated in a rolling shuttering fashion, in which each pixel row is exposed to incident lights to generate intensity data sequentially. For example, one pixel row of image sensors can be exposed to the incident lights in an exposure period. Each pixel cell within the row can generate a voltage based on the charges generated by the photodiode during the exposure period, and forward the voltage to the ADC. The ADCs can generate a set of digital data representing the intensities of the incident lights received by that pixel row. After the set of digital data is generated for one pixel row, the next pixel row can be exposed to the incident lights in a subsequent exposure period to generate another set of digital intensity data, until all of the pixel rows have been exposed to the incident light and have output intensity data. In yet another example, the exposure time of different rows of pixels can have some overlap, but each row of pixels still needs to take a turn in converting the voltages generated from the photodiode charges into digital data. An image can be generated based on the digital intensity data of each pixel row.

Image sensors can be found in many different applications. As an example, image sensors are included in digital imaging devices (e.g., digital cameras, smart phones, etc.) to provide digital imaging. As another example, image sensors can be configured as input devices to control or influence the operation of a device, such as controlling or influencing the display content of a near-eye display in wearable virtual-reality (VR) systems and/or augmented-reality (AR) and/or mixed reality (MR) systems. For example, the image sensors can be used to generate physical image data of a physical environment in which a user is located. The physical image data can be provided to a location tracking system operating a simultaneous localization and mapping (SLAM) algorithm to track, for example, a location of the user, an orientation of the user, and/or a path of movement of the user in the physical environment. The image sensors can also be used to generate physical image data including stereo depth information for measuring a distance between the user and an object in the physical environment. The image sensors can also be configured as a near-infrared (NIR) sensor. An illuminator may project a pattern of NIR light into the eyeballs of the user. The internal structures of the eyeballs (e.g., the pupils) may generate a reflective pattern from the NIR light. The image sensors can capture images of the reflective pattern, and provide the images to a system to track the movement of the eyeballs of the user to determine a gaze point of the user. Based on these physical image data, the VR/AR/MR system may generate and update virtual image data for displaying to the user via the near-eye display, to provide an interactive experience to the user. For example, the VR/AR/MR system may update the virtual image data based the user's gazing direction (which may signal the user's interest in the object), a location of the user, etc.

A wearable VR/AR/MR system may operate in environments with a very wide range of light intensities. For example, the wearable VR/AR/MR system may be able to operate in an indoor environment or in an outdoor environment, and/or at different times of the day, and the light intensity of the operation environment of the wearable VR/AR/MR system may vary substantially. Moreover, the wearable VR/AR/MR system may also include the aforementioned NIR eyeball tracking system, which may require projecting lights of very low intensity into the eyeballs of the user to prevent damaging the eyeballs. As a result, the image sensors of the wearable VR/AR/MR system may need to have a wide dynamic range to be able to operate properly (e.g., to generate an output that correlates with the intensity of incident light) across a very wide range of light intensities associated with different operating environments. The image sensors of the wearable VR/AR/MR system may also need to generate images at sufficient high speed to allow tracking of the user's location, orientation, gaze point, etc. Image sensors with relatively limited dynamic ranges and which generate images at relatively low speed may not be suitable for such a wearable VR/AR/MR system.

This disclosure relates to a pixel cell that can provide extended dynamic range and improved processing speed. The pixel cell may include a photodiode, a first charge storage unit, a second charge storage unit, a transfer gate between the first charge storage unit and the second charge storage unit, and an analog to digital converter (ADC) circuit. Both the first charge storage unit and the second charge storage unit are capable of storing charges generated by the photodiode, whereas the transfer gate can control a flow of charges from the first charge storage unit to the second charge storage unit. For example, the transfer gate can be controlled with a bias voltage such that, when the photodiode generates charges due to exposure to incident light, the charges are first accumulated at the first charge storage unit as residual charges until the voltage developed at the first charge storage unit exceeds a threshold set by the bias voltage. When the voltage developed at the first charge storage unit exceeds the threshold, additional charges (generated by the photodiode) can move to the second charge storage unit as overflow charges via the transfer gate. The first charge storage unit may be a device capacitor of the photodiode. The second charge storage unit may be a device capacitor of the transfer gate, a metal capacitor, a Metal-Oxide-Semiconductor (MOS) capacitor, or any combination thereof. The second charge storage unit typically has a much larger capacity than the first charge storage unit.

The pixel cell is operable to perform light intensity measurement under a plurality of modes of measurements, with different modes of measurements targeted for different light intensity ranges. In a first mode of measurement targeted for a low light intensity range for which the first charge storage unit is not expected to reach full capacity, the ADC can be operated to measure a quantity of the residual charges stored in the first charge storage unit to determine the light intensity. In a second mode of measurement targeted for a medium light intensity range for which the first charge storage unit is expected to reach full capacity, the ADC can be operated to measure a quantity of the overflow charges stored in the second charge storage unit to determine the light intensity. Moreover, in a third mode of measurement targeted for a high light intensity range for which both the first charge storage unit and the second charge storage unit are expected to reach full capacity, the ADC can be operated to measure a rate of accumulation of the overflow charges at the second charge storage unit to determine the light intensity.

The disclosed techniques can extend the dynamic range of the pixel cell for both the low light intensity measurement and the high light intensity measurement, and generate the digital outputs representing the measurements. For example, the rate of accumulation of the overflow charges (for the high light intensity range) provides a reasonably accurate representation of the light intensity, which enables the light intensity to be measured even when the second charge storage unit reaches the capacity limit. Therefore, the upper limit of the measurable light intensity of the image sensor can increase, and the dynamic range can be extended.

Moreover, determining light intensity based on measuring the residual charges stored at the device capacitor of the photodiode, for the low light intensity range, can also improve the accuracy of the light intensity determination. As discussed above, photodiodes typically generate less dark current than other semiconductor devices. Therefore, by determining light intensity based on measuring the residual charges stored at the device capacitor of the photodiode, the effect of dark current on the accuracy of residual charges measurement (and the light intensity determination) can be reduced. Therefore, fewer noise charges (e.g., due to dark current) are introduced, which in turn lowers the lower limit of the measureable light intensity of the image sensor and further extends the dynamic range. Other techniques are disclosed, such as variable charge-to-voltage conversion ratios, non-uniform quantization, etc., to further improve the accuracy of light intensity determination, especially for the low intensity light range.

Further, by providing an ADC in a pixel cell, each pixel cell of a pixel array can be exposed to incident lights and generate digital representations of the incident light intensity received at the pixel cell simultaneously, to provide a global shutter operation. For high speed motion capture, global shutter is advantageous as it avoids the motion distortion problem associated with rolling shutter operation caused by rows of pixel cells capturing images of different parts of a moving object at different times. Further, compared with the conventional approach where rows of pixel cells take turns in being exposed and generating intensity data, the processing time for image generation using the pixel cell can be reduced. Therefore, the disclosed techniques not only extend the dynamic range but also increase the operation speed of the pixel cell, and can also improve the performance of an application (e.g., a VR/AR/MR system) that relies on the digital output of the pixel cell, as well as user experience.

Embodiments of the disclosure may include or be implemented in conjunction with an artificial reality system. Artificial reality is a form of reality that has been adjusted in some manner before presentation to a user, which may include, e.g., a virtual reality (VR), an augmented reality (AR), a mixed reality (MR), a hybrid reality, or some combination and/or derivatives thereof. Artificial reality content may include completely generated content or generated content combined with captured (e.g., real-world) content. The artificial reality content may include video, audio, haptic feedback, or some combination thereof, any of which may be presented in a single channel or in multiple channels (such as stereo video that produces a three-dimensional effect to the viewer). Additionally, in some embodiments, artificial reality may also be associated with applications, products, accessories, services, or some combination thereof, that are used to, e.g., create content in an artificial reality and/or are otherwise used in (e.g., perform activities in) an artificial reality. The artificial reality system that provides the artificial reality content may be implemented on various platforms, including a head-mounted display (HMD) connected to a host computer system, a standalone HMD, a mobile device or computing system, or any other hardware platform capable of providing artificial reality content to one or more viewers.

FIG. 1A is a diagram of an embodiment of a near-eye display 100. Near-eye display 100 presents media to a user. Examples of media presented by near-eye display 100 include one or more images, video, and/or audio. In some embodiments, audio is presented via an external device (e.g., speakers and/or headphones) that receives audio information from the near-eye display 100, a console, or both, and presents audio data based on the audio information. Near-eye display 100 is generally configured to operate as a virtual reality (VR) display. In some embodiments, near-eye display 100 is modified to operate as an augmented reality (AR) display and/or a mixed reality (MR) display.

Near-eye display 100 includes a frame 105 and a display 110. Frame 105 is coupled to one or more optical elements. Display 110 is configured for the user to see content presented by near-eye display 100. In some embodiments, display 110 comprises a waveguide display assembly for directing light from one or more images to an eye of the user.

Near-eye display 100 further includes image sensors 120 a, 120 b, 120 c, and 120 d. Each of image sensors 120 a, 120 b, 120 c, and 120 d may include a pixel array configured to generate image data representing different fields of views along different directions. For example, sensors 120 a and 120 b may be configured to provide image data representing two field of views towards a direction A along the Z axis, whereas sensor 120 c may be configured to provide image data representing a field of view towards a direction B along the X axis, and sensor 120 d may be configured to provide image data representing a field of view towards a direction C along the X axis.

In some embodiments, sensors 120 a-120 d can be configured as input devices to control or influence the display content of the near-eye display 100, to provide an interactive VR/AR/MR experience to a user who wears near-eye display 100. For example, sensors 120 a-120 d can generate physical image data of a physical environment in which the user is located. The physical image data can be provided to a location tracking system to track a location and/or a path of movement of the user in the physical environment. A system can then update the image data provided to display 110 based on, for example, the location and orientation of the user, to provide the interactive experience. In some embodiments, the location tracking system may operate a SLAM algorithm to track a set of objects in the physical environment and within a view of field of the user as the user moves within the physical environment. The location tracking system can construct and update a map of the physical environment based on the set of objects, and track the location of the user within the map. By providing image data corresponding to multiple fields of views, sensors 120 a-120 d can provide the location tracking system a more holistic view of the physical environment, which can lead to more objects to be included in the construction and updating of the map. With such arrangement, the accuracy and robustness of tracking a location of the user within the physical environment can be improved.

In some embodiments, near-eye display 100 may further include one or more active illuminator 130 to project light into the physical environment. The light projected can be associated with different frequency spectrums (e.g., visible light, infra-red light, ultra-violet light, etc.), and can serve various purposes. For example, illuminator 130 may project light in a dark environment (or in an environment with low intensity of infra-red light, ultra-violet light, etc.) to assist sensors 120 a-120 d in capturing images of different objects within the dark environment to, for example, enable location tracking of the user. Illuminator 130 may project certain markers onto the objects within the environment, to assist the location tracking system in identifying the objects for map construction/updating.

In some embodiments, illuminator 130 may also enable stereoscopic imaging. For example, one or more of sensors 120 a or 120 b can include both a first pixel array for visible light sensing and a second pixel array for infra-red (IR) light sensing. The first pixel array can be overlaid with a color filter (e.g., a Bayer filter), with each pixel of the first pixel array being configured to measure intensity of light associated with a particular color (e.g., one of red, green or blue colors). The second pixel array (for IR light sensing) can also be overlaid with a filter that allows only IR light through, with each pixel of the second pixel array being configured to measure intensity of IR lights. The pixel arrays can generate an RGB image and an IR image of an object, with each pixel of the IR image being mapped to each pixel of the RGB image. Illuminator 130 may project a set of IR markers on the object, the images of which can be captured by the IR pixel array. Based on a distribution of the IR markers of the object as shown in the image, the system can estimate a distance of different parts of the object from the IR pixel array, and generate a stereoscopic image of the object based on the distances. Based on the stereoscopic image of the object, the system can determine, for example, a relative position of the object with respect to the user, and can update the image data provided to display 100 based on the relative position information to provide the interactive experience.

As discussed above, near-eye display 100 may be operated in environments associated with a very wide range of light intensities. For example, near-eye display 100 may be operated in an indoor environment or in an outdoor environment, and/or at different times of the day. Near-eye display 100 may also operate with or without active illuminator 130 being turned on. As a result, image sensors 120 a-120 d may need to have a wide dynamic range to be able to operate properly (e.g., to generate an output that correlates with the intensity of incident light) across a very wide range of light intensities associated with different operating environments for near-eye display 100.

FIG. 1B is a diagram of another embodiment of near-eye display 100. FIG. 1B illustrates a side of near-eye display 100 that faces the eyeball(s) 135 of the user who wears near-eye display 100. As shown in FIG. 1B, near-eye display 100 may further include a plurality of illuminators 140 a, 140 b, 140 c, 140 d, 140 e, and 140 f. Near-eye display 100 further includes a plurality of image sensors 150 a and 150 b. Illuminators 140 a, 140 b, and 140 c may emit lights of certain frequency range (e.g., NIR) towards direction D (which is opposite to direction A of FIG. 1A). The emitted light may be associated with a certain pattern, and can be reflected by the left eyeball of the user. Sensor 150 a may include a pixel array to receive the reflected light and generate an image of the reflected pattern. Similarly, illuminators 140 d, 140 e, and 140 f may emit NIR lights carrying the pattern. The NIR lights can be reflected by the right eyeball of the user, and may be received by sensor 150 b. Sensor 150 b may also include a pixel array to generate an image of the reflected pattern. Based on the images of the reflected pattern from sensors 150 a and 150 b, the system can determine a gaze point of the user, and update the image data provided to display 100 based on the determined gaze point to provide an interactive experience to the user.

As discussed above, to avoid damaging the eyeballs of the user, illuminators 140 a, 140 b, 140 c, 140 d, 140 e, and 140 f are typically configured to output lights of very low intensities. In a case where image sensors 150 a and 150 b comprise the same sensor devices as image sensors 120 a-120 d of FIG. 1A, the image sensors 120 a-120 d may need to be able to generate an output that correlates with the intensity of incident light when the intensity of the incident light is very low, which may further increase the dynamic range requirement of the image sensors.

Moreover, the image sensors 120 a-120 d may need to be able to generate an output at a high speed to track the movements of the eyeballs. For example, a user's eyeball can perform a very rapid movement (e.g., a saccade movement) in which there can be a quick jump from one eyeball position to another. To track the rapid movement of the user's eyeball, image sensors 120 a-120 d need to generate images of the eyeball at high speed. For example, the rate at which the image sensors generate an image frame (the frame rate) needs to at least match the speed of movement of the eyeball. The high frame rate requires short total exposure time for all of the pixel cells involved in generating the image frame, as well as high speed for converting the sensor outputs into digital values for image generation. Moreover, as discussed above, the image sensors also need to be able to operate at an environment with low light intensity.

FIG. 2 is an embodiment of a cross section 200 of near-eye display 100 illustrated in FIG. 1. Display 110 includes at least one waveguide display assembly 210. An exit pupil 230 is a location where a single eyeball 220 of the user is positioned in an eyebox region when the user wears the near-eye display 100. For purposes of illustration, FIG. 2 shows the cross section 200 associated eyeball 220 and a single waveguide display assembly 210, but a second waveguide display is used for a second eye of a user.

Waveguide display assembly 210 is configured to direct image light to an eyebox located at exit pupil 230 and to eyeball 220. Waveguide display assembly 210 may be composed of one or more materials (e.g., plastic, glass, etc.) with one or more refractive indices. In some embodiments, near-eye display 100 includes one or more optical elements between waveguide display assembly 210 and eyeball 220.

In some embodiments, waveguide display assembly 210 includes a stack of one or more waveguide displays including, but not restricted to, a stacked waveguide display, a varifocal waveguide display, etc. The stacked waveguide display is a polychromatic display (e.g., a red-green-blue (RGB) display) created by stacking waveguide displays whose respective monochromatic sources are of different colors. The stacked waveguide display is also a polychromatic display that can be projected on multiple planes (e.g., multi-planar colored display). In some configurations, the stacked waveguide display is a monochromatic display that can be projected on multiple planes (e.g., multi-planar monochromatic display). The varifocal waveguide display is a display that can adjust a focal position of image light emitted from the waveguide display. In alternate embodiments, waveguide display assembly 210 may include the stacked waveguide display and the varifocal waveguide display.

FIG. 3 illustrates an isometric view of an embodiment of a waveguide display 300. In some embodiments, waveguide display 300 is a component (e.g., waveguide display assembly 210) of near-eye display 100. In some embodiments, waveguide display 300 is part of some other near-eye display or other system that directs image light to a particular location.

Waveguide display 300 includes a source assembly 310, an output waveguide 320, and a controller 330. For purposes of illustration, FIG. 3 shows the waveguide display 300 associated with a single eyeball 220, but in some embodiments, another waveguide display separate, or partially separate, from the waveguide display 300 provides image light to another eye of the user.

Source assembly 310 generates image light 355. Source assembly 310 generates and outputs image light 355 to a coupling element 350 located on a first side 370-1 of output waveguide 320. Output waveguide 320 is an optical waveguide that outputs expanded image light 340 to an eyeball 220 of a user. Output waveguide 320 receives image light 355 at one or more coupling elements 350 located on the first side 370-1 and guides received input image light 355 to a directing element 360. In some embodiments, coupling element 350 couples the image light 355 from source assembly 310 into output waveguide 320. Coupling element 350 may be, e.g., a diffraction grating, a holographic grating, one or more cascaded reflectors, one or more prismatic surface elements, and/or an array of holographic reflectors.

Directing element 360 redirects the received input image light 355 to decoupling element 365 such that the received input image light 355 is decoupled out of output waveguide 320 via decoupling element 365. Directing element 360 is part of, or affixed to, first side 370-1 of output waveguide 320. Decoupling element 365 is part of, or affixed to, second side 370-2 of output waveguide 320, such that directing element 360 is opposed to the decoupling element 365. Directing element 360 and/or decoupling element 365 may be, e.g., a diffraction grating, a holographic grating, one or more cascaded reflectors, one or more prismatic surface elements, and/or an array of holographic reflectors.

Second side 370-2 represents a plane along an x-dimension and a y-dimension. Output waveguide 320 may be composed of one or more materials that facilitate total internal reflection of image light 355. Output waveguide 320 may be composed of e.g., silicon, plastic, glass, and/or polymers. Output waveguide 320 has a relatively small form factor. For example, output waveguide 320 may be approximately 50 mm wide along x-dimension, 30 mm long along y-dimension and 0.5-1 mm thick along a z-dimension.

Controller 330 controls scanning operations of source assembly 310. The controller 330 determines scanning instructions for the source assembly 310. In some embodiments, the output waveguide 320 outputs expanded image light 340 to the user's eyeball 220 with a large field of view (FOV). For example, the expanded image light 340 is provided to the user's eyeball 220 with a diagonal FOV (in x and y) of 60 degrees and/or greater and/or 150 degrees and/or less. The output waveguide 320 is configured to provide an eyebox with a length of 20 mm or greater and/or equal to or less than 50 mm; and/or a width of 10 mm or greater and/or equal to or less than 50 mm.

Moreover, controller 330 also controls image light 355 generated by source assembly 310, based on image data provided by image sensor 370. Image sensor 370 may be located on first side 370-1 and may include, for example, image sensors 120 a-120 d of FIG. 1A to generate image data of a physical environment in front of the user (e.g., for location determination). Image sensor 370 may also be located on second side 370-2 and may include image sensors 150 a and 150 b of FIG. 1B to generate image data of eyeball 220 (e.g., for gaze point determination) of the user. Image sensor 370 may interface with a remote console that is not located within waveguide display 300. Image sensor 370 may provide image data to the remote console, which may determine, for example, a location of the user, a gaze point of the user, etc., and determine the content of the images to be displayed to the user. The remote console can transmit instructions to controller 330 related to the determined content. Based on the instructions, controller 330 can control the generation and outputting of image light 355 by source assembly 310.

FIG. 4 illustrates an embodiment of a cross section 400 of the waveguide display 300. The cross section 400 includes source assembly 310, output waveguide 320, and image sensor 370. In the example of FIG. 4, image sensor 370 may include a set of pixel cells 402 located on first side 370-1 to generate an image of the physical environment in front of the user. In some embodiments, there can be a mechanical shutter 404 interposed between the set of pixel cells 402 and the physical environment to control the exposure of the set of pixel cells 402. In some embodiments, the mechanical shutter 404 can be replaced by an electronic shutter gate, as to be discussed below. Each of pixel cells 402 may correspond to one pixel of the image. Although not shown in FIG. 4, it is understood that each of pixel cells 402 may also be overlaid with a filter to control the frequency range of the light to be sensed by the pixel cells.

After receiving instructions from the remote console, mechanical shutter 404 can open and expose the set of pixel cells 402 in an exposure period. During the exposure period, image sensor 370 can obtain samples of lights incident on the set of pixel cells 402, and generate image data based on an intensity distribution of the incident light samples detected by the set of pixel cells 402. Image sensor 370 can then provide the image data to the remote console, which determines the display content, and provide the display content information to controller 330. Controller 330 can then determine image light 355 based on the display content information.

Source assembly 310 generates image light 355 in accordance with instructions from the controller 330. Source assembly 310 includes a source 410 and an optics system 415. Source 410 is a light source that generates coherent or partially coherent light. Source 410 may be, e.g., a laser diode, a vertical cavity surface emitting laser, and/or a light emitting diode.

Optics system 415 includes one or more optical components that condition the light from source 410. Conditioning light from source 410 may include, e.g., expanding, collimating, and/or adjusting orientation in accordance with instructions from controller 330. The one or more optical components may include one or more lenses, liquid lenses, mirrors, apertures, and/or gratings. In some embodiments, optics system 415 includes a liquid lens with a plurality of electrodes that allows scanning of a beam of light with a threshold value of scanning angle to shift the beam of light to a region outside the liquid lens. Light emitted from the optics system 415 (and also source assembly 310) is referred to as image light 355.

Output waveguide 320 receives image light 355. Coupling element 350 couples image light 355 from source assembly 310 into output waveguide 320. In embodiments where coupling element 350 is diffraction grating, a pitch of the diffraction grating is chosen such that total internal reflection occurs in output waveguide 320, and image light 355 propagates internally in output waveguide 320 (e.g., by total internal reflection), toward decoupling element 365.

Directing element 360 redirects image light 355 toward decoupling element 365 for decoupling from output waveguide 320. In embodiments where directing element 360 is a diffraction grating, the pitch of the diffraction grating is chosen to cause incident image light 355 to exit output waveguide 320 at angle(s) of inclination relative to a surface of decoupling element 365.

In some embodiments, directing element 360 and/or decoupling element 365 are structurally similar. Expanded image light 340 exiting output waveguide 320 is expanded along one or more dimensions (e.g., may be elongated along x-dimension). In some embodiments, waveguide display 300 includes a plurality of source assemblies 310 and a plurality of output waveguides 320. Each of source assemblies 310 emits a monochromatic image light of a specific band of wavelength corresponding to a primary color (e.g., red, green, or blue). Each of output waveguides 320 may be stacked together with a distance of separation to output an expanded image light 340 that is multi-colored.

FIG. 5 is a block diagram of an embodiment of a system 500 including the near-eye display 100. The system 500 comprises near-eye display 100, an imaging device 535, an input/output interface 540, and image sensors 120 a-120 d and 150 a-150 b that are each coupled to control circuitries 510. System 500 can be configured as a head-mounted device, a wearable device, etc.

Near-eye display 100 is a display that presents media to a user. Examples of media presented by the near-eye display 100 include one or more images, video, and/or audio. In some embodiments, audio is presented via an external device (e.g., speakers and/or headphones) that receives audio information from near-eye display 100 and/or control circuitries 510 and presents audio data based on the audio information to a user. In some embodiments, near-eye display 100 may also act as an AR eyewear glass. In some embodiments, near-eye display 100 augments views of a physical, real-world environment, with computer-generated elements (e.g., images, video, sound, etc.).

Near-eye display 100 includes waveguide display assembly 210, one or more position sensors 525, and/or an inertial measurement unit (IMU) 530. Waveguide display assembly 210 includes source assembly 310, output waveguide 320, and controller 330.

IMU 530 is an electronic device that generates fast calibration data indicating an estimated position of near-eye display 100 relative to an initial position of near-eye display 100 based on measurement signals received from one or more of position sensors 525.

Imaging device 535 may generate image data for various applications. For example, imaging device 535 may generate image data to provide slow calibration data in accordance with calibration parameters received from control circuitries 510. Imaging device 535 may include, for example, image sensors 120 a-120 d of FIG. 1A for generating image data of a physical environment in which the user is located, for performing location tracking of the user. Imaging device 535 may further include, for example, image sensors 150 a-150 b of FIG. 1B for generating image data for determining a gaze point of the user, to identify an object of interest of the user.

The input/output interface 540 is a device that allows a user to send action requests to the control circuitries 510. An action request is a request to perform a particular action. For example, an action request may be to start or end an application or to perform a particular action within the application.

Control circuitries 510 provides media to near-eye display 100 for presentation to the user in accordance with information received from one or more of: imaging device 535, near-eye display 100, and input/output interface 540. In some examples, control circuitries 510 can be housed within system 500 configured as a head-mounted device. In some examples, control circuitries 510 can be a standalone console device communicatively coupled with other components of system 500. In the example shown in FIG. 5, control circuitries 510 include an application store 545, a tracking module 550, and an engine 555.

The application store 545 stores one or more applications for execution by the control circuitries 510. An application is a group of instructions, that, when executed by a processor, generates content for presentation to the user. Examples of applications include: gaming applications, conferencing applications, video playback application, or other suitable applications.

Tracking module 550 calibrates system 500 using one or more calibration parameters and may adjust one or more calibration parameters to reduce error in determination of the position of the near-eye display 100.

Tracking module 550 tracks movements of near-eye display 100 using slow calibration information from the imaging device 535. Tracking module 550 also determines positions of a reference point of near-eye display 100 using position information from the fast calibration information.

Engine 555 executes applications within system 500 and receives position information, acceleration information, velocity information, and/or predicted future positions of near-eye display 100 from tracking module 550. In some embodiments, information received by engine 555 may be used for producing a signal (e.g., display instructions) to waveguide display assembly 210 that determines a type of content presented to the user. For example, to provide an interactive experience, engine 555 may determine the content to be presented to the user based on a location of the user (e.g., provided by tracking module 550), a gaze point of the user (e.g., based on image data provided by imaging device 535), a distance between an object and user (e.g., based on image data provided by imaging device 535).

FIG. 6 illustrates an example of a pixel cell 600. Pixel cell 600 may be part of a pixel array and can generate digital intensity data corresponding to a pixel of an image. For example, pixel cell 600 may be part of pixel cells 402 of FIG. 4. As shown in FIG. 6, pixel cell 600 may include a photodiode 602, a residual charge capacitor 603, a shutter switch 604, a transfer gate 606, a reset switch 607, a measurement capacitor 608, a buffer 609, and a pixel ADC 610.

In some embodiments, photodiode 602 may include a P-N diode or a P-I-N diode. Each of shutter switch 604, transfer gate 606, and reset switch 607 can include a transistor. The transistor may include, for example, a metal-oxide-semiconductor field-effect transistor (MOSFET), a bipolar junction transistor (BJT), etc. Shutter switch 604 can act as an electronic shutter gate (in lieu of, or in combination with, mechanical shutter 404 of FIG. 4) to control an exposure period of pixel cell 600. During the exposure period, shutter switch 604 can be disabled (turned off) by exposure enable signal 611, which allows charges generated by photodiode 602 to move to residual charge capacitor 603 and/or measurement capacitor 608. At the end of the exposure period, shutter switch 604 can be enabled to steer the charges generated by photodiode 602 into photodiode current sink 617. Moreover, reset switch 607 can also be disabled (turned off) by reset signal 618, which allows measurement capacitor 608 to accumulate the charges and develop a voltage that reflects a quantity of the accumulated charges. After a mode of measurement completes, reset switch 607 can be enabled to empty the charges stored at measurement capacitor 608 to charge sink 620, to make measurement capacitor 608 available for the next measurement.

Residual charge capacitor 603 can be a device capacitor of photodiode 602 and can store charges generated by photodiode 602. Residual charge capacitor 603 can include, for example, a junction capacitor at the P-N diode junction interface, or other device capacitor(s) connected to photodiode 602. Due to the proximity of residual charge capacitor 603 to photodiode 602, charges generated by photodiode 602 may be accumulated at charge capacitor 603. Measurement capacitor 608 can be a device capacitor at a floating terminal of transfer gate 606, a metal capacitor, a MOS capacitor, or any combination thereof. Measurement capacitor 608 can be used to store a quantity of charges, which can be measured by pixel ADC 610 to provide a digital output representing the incident light intensity. The charges stored at measurement capacitor 608 can be either overflow charges (from photodiode 602) that are not to be accumulated at residual charge capacitor 603, or residual charges that are emptied from residual charge capacitor 603.

Reference is now made to FIG. 7, which illustrates the charge accumulation operations at residual charge capacitor 603 and measurement capacitor 608 for different target light intensity ranges. FIG. 7 illustrates a total quantity of charges accumulated (or expected to accumulate) at residual charge capacitor 603 and measurement capacitor 608 with respect to time for different light intensity ranges. The total quantity of charges accumulated can reflect the total charges generated by photodiode 602 during an exposure period, which in turns reflects the intensity of light incident upon photodiode 602 during the exposure period. The quantity can be measured when the exposure period ends. A threshold 702 and a threshold 704 can be defined for thresholds quantity of charges defining a low light intensity range 706, a medium light intensity range 708, and a high light intensity range 710 for the intensity of the incident light. For example, if the total accumulated charges is below threshold 702 (e.g., Q1), the incident light intensity is within low light intensity range 706. If the total accumulated charges is between threshold 704 and threshold 702 (e.g., Q2), the incident light intensity is within medium light intensity range 708. If the total accumulated charges is above threshold 704, the incident light intensity is within medium light intensity range 710.

Thresholds 702 and 704 can be set to control the accumulation of charges at residual charge capacitor 603 and measurement capacitor 608, to ensure that the quantity of accumulated charges at the capacitors correlates with the incident light intensity when the incident light intensity falls within either low light intensity range 706 or medium light intensity range 708. For example, thresholds 702 and 704 can be set below the capacities of residual charge capacitor 603 and measurement capacitor 608. As discussed above, once residual charge capacitor 603 and measurement capacitor 608 reaches full capacity, the capacitors may start leaking charges, and the voltage developed at the capacitors may not accurately represent or reflect the total number of charges generated by photodiode 602 during the exposure period. By setting thresholds 702 and 704 to below the capacities of residual charge capacitor 603 and measurement capacitor 608, measurement error caused by charge leakage can be avoided. In some examples, threshold 702 can be set at 2000e− (2000 charges), whereas threshold 704 can be set at 63000e− (63000 charges).

The accumulation of charges at residual charge capacitor 603 and measurement capacitor 608 can be controlled by thresholds 702 and 704. For example, an incident light intensity falling within low light intensity range 706 can be based on the total charges accumulated at residual charge capacitor 603. Assuming residual charge capacitor 603 is not yet full at the end of the exposure period, the total charges accumulated at residual charge capacitor 603 can reflect the total charges generated by photodiode 602 during the exposure period, and can be used to determine the incident light intensity. When the total charges accumulated at residual charge capacitor 603 exceeds threshold 702, the additional charges generated by photodiode 602 can be diverted to measurement capacitor 608 as overflow charges. Assuming measurement capacitor 608 is not yet full at the end of the exposure period, the total overflow charges accumulated at measurement capacitor 608 can also reflect the total charges generated by photodiode 602 during the exposure period, and can be used to determine the incident light intensity (which falls within medium light intensity range 708).

On the other hand, in a case where the incident light intensity is within high light intensity range 710, the total overflow charges accumulated at measurement capacitor 608 may exceed threshold 704 before the exposure period ends. As additional charges are accumulated, measurement capacitor 608 may reach full capacity before the end of the exposure period, and charge leakage may occur. To avoid measurement error caused due to measurement capacitor 608 reaching full capacity, a time-to-saturation measurement can be performed to measure the time duration it takes for the total overflow charges accumulated at measurement capacitor 608 to reach threshold 704. A rate of charge accumulation at measurement capacitor 608 can be determined based on a ratio between threshold 704 and the time-to-saturation, and a hypothetical quantity of charge (Q3) that could have been accumulated at measurement capacitor 608 at the end of the exposure period (if the capacitor had limitless capacity) can be determined by extrapolation according to the rate of charge accumulation. The hypothetical quantity of charge (Q3) can provide a reasonably accurate representation of the incident light intensity within high light intensity range 710.

Referring back to FIG. 6, transfer gate 606 can be controlled by a measurement control signal 612 to control the charge accumulations at residual charge capacitor 603 and measurement capacitor 608 for different light intensity ranges as described above. For example, for low light intensity range 706, transfer gate 606 can be controlled to operate in a partially turned-on state. During the exposure period, the gate voltage of transfer gate 606 can set based on a voltage developed at residual charge capacitor 603 when the total accumulated charges at residual charge capacitor 603 reaches threshold 702. With such arrangements, the charges generated by photodiode 602 will be stored in residual charge capacitor 603 first until the quantity of accumulated charges reaches threshold 702. Right before the exposure period ends, transfer gate 606 can be controlled to operate in a fully turned-on state to move the charges stored in residual charge capacitor 603 to measurement capacitor 608. At the end of the charge transfer, transfer gate 606 can be controlled to operate in a fully turned-off state to preserve the charges stored in measurement capacitor 608. At that point, the charges stored in measurement capacitor 608 may represent the charges stored in residual charge capacitor 603, and can be used to determine the incident light intensity. On the other hand, for medium light intensity range 708 and high light intensity range 710, the overflow charges accumulated at measurement capacitor 608 can also be measured right before the exposure period ends, when the transfer gate 606 is still in a partially turned-on state and the charges stored in residual charge capacitor 603 are not yet transferred to measurement capacitor 608.

The charges accumulated at measurement capacitor 608 can be sensed by buffer 609 to generate a replica of the analog voltage (but with larger driving strength) at analog output node 614. The analog voltage at analog output node 614 can be converted into a set of digital data (e.g., comprising logical ones and zeros) by pixel ADC 610. The analog voltage developed at measurement capacitor 608 can be sampled and digital output can be generated before the end of the exposure period (e.g., for medium light intensity range 708 and high light intensity range 710), or after the exposure period (for low light intensity range 706). The digital data can be transmitted by a set of pixel output buses 616 to, for example, control circuitries 510 of FIG. 5, to represent the light intensity during the exposure period.

In some examples, the capacitance of measurement capacitor 608 can be configurable to improve the accuracy of light intensity determination for low light intensity range. For example, the capacitance of measurement capacitor 608 can be reduced when measurement capacitor 608 is used to measure the residual charges stored at residual charge capacitor 603. The reduction in the capacitance of measurement capacitor 608 can increase the charge-to-voltage conversion ratio at measurement capacitor 608, such that a higher voltage can be developed for a certain quantity of stored charges. The higher charge-to-voltage conversion ratio can reduce the effect of measurement errors (e.g., quantization error, comparator offset, etc.) introduced by pixel ADC 610 on the accuracy of low light intensity determination. The measurement error can set a limit on a minimum voltage difference that can be detected and/or differentiated by pixel ADC 610. By increasing the charge-to-voltage conversion ratio, the quantity of charges corresponding to the minimum voltage difference can be reduced, which in turn reduces the lower limit of a measurable light intensity by pixel cell 600 and extends the dynamic range. On the other hand, for medium light intensity, the capacitance of measurement capacitor 608 can be increased to ensure that the measurement capacitor 608 has sufficient capacity to store a quantity of charges up to, for example, the quantity defined by threshold 704.

FIG. 8 illustrates an example of the internal components of pixel ADC 610. As shown in FIG. 8, pixel ADC 610 includes a threshold generator 802, a comparator 804, and a digital output generator 806. Digital output generator 806 may further include a counter 808 and a memory device 810. Counter 808 can generate a set of count values based on a free-running clock signal 812, whereas memory 810 can store at least some of the count values (e.g., the latest count value) generated by counter 808. In some embodiments, memory 810 may be part of counter 808. Memory 810 can be, for example, a latch circuit to store the counter value based on local pixel value as described below. Threshold generator 802 includes a digital-to-analog converter (DAC) 813 which can accept a set of digital values and output a reference voltage (VREF) 815 representing the set of digital values. As to be discussed in more detail below, threshold generator 802 may accept static digital values to generate a fixed threshold, or accept output 814 of counter 808 to generate a ramping threshold.

Although FIG. 8 illustrates that DAC 813 (and threshold generator 802) is part of pixel ADC 610, it is understood that DAC 813 (and threshold generator 802) can be coupled with multiple digital output generators 806 from different pixel cells. Moreover, digital output generator 806 can also be shared among a plurality of multiple pixel cells to generate the digital values.

Comparator 804 can compare the analog voltage developed at analog output node 614 against the threshold provided by threshold generator 802, and generate a decision 816 based on the comparison result. For example, comparator 804 can generate a logical one for decision 816 if the analog voltage at analog output node 614 equals to or exceeds the threshold generated by threshold generator 802. Comparator 804 can also generate a logical zero for decision 816 if the analog voltage falls below the threshold. Decision 816 can control the counting operations of counter 808 and/or the count values stored in memory 810, to perform the aforementioned time-of-saturation measurement of a ramping analog voltage at analog output node 614 as well as quantization processing of the analog voltage at analog output node 614 for incident light intensity determination.

FIG. 9A illustrates an example of time-to-saturation measurement by pixel ADC 610. To perform the time-to-saturation measurement, threshold generator 802 can control DAC 813 to generate a fixed VREF 815. Fixed VREF 815 can be set at a voltage corresponding a charge quantity threshold between the medium light intensity range and the high light intensity range (e.g., threshold 704 of FIG. 7). Counter 808 can start counting right after the exposure period starts (e.g., right after shutter switch 604 is disabled). As the analog voltage at analog output node 614 ramps down (or up depending on the implementation), clock signal 812 keeps toggling to update the count value at counter 808. The analog voltage may reach the fixed threshold at a certain time point, which causes decision 816 by comparator 804 to flip. The flipping of decision 816 may stop the counting of counter 808, and the count value at counter 808 may represent the time-to-saturation. As to be discussed in more details below, a rate of charge accumulation at measurement capacitor 608 can also be determined based on the duration, and the incident light intensity can be determined based on the rate of charge accumulation.

FIG. 9B illustrates an example of quantizing an analog voltage by pixel ADC 610. After measurement starts, DAC 813 may be programmed by counter output 714 to generate a ramping VREF 815, which can either ramp up (in the example of FIG. 9B) or ramp down depending on implementation. In the example of FIG. 9B, the quantization process can be performed with uniform quantization steps, with VREF 815 increasing (or decreasing) by the same amount for each clock cycle of clock signal 812. The amount of increase (or decrease) of VREF 815 corresponds to a quantization step. When VREF 815 reaches within one quantization step of the analog voltage at analog output node 614, decision 816 by comparator 804 flips. The flipping of decision 816 may stop the counting of counter 808, and the count value can correspond to a total number of quantization steps accumulated to match, within one quantization step, the analog voltage. The count value can become a digital representation of the quantity of charges stored at measurement capacitor 608, as well as the digital representation of the incident light intensity. As discussed above, the quantization of the analog voltage can occur during the exposure period (e.g., for medium light intensity range 708) and after the exposure period (e.g., for low light intensity range 706).

As discussed above, ADC 610 can introduce quantization errors when there is a mismatch between a quantity of charges represented by the quantity level output by ADC 610 (e.g., represented by the total number of quantization steps) and the actual input quantity of charges that is mapped to the quantity level by ADC 610. The quantization error can be reduced by using a smaller quantization step size. In the example of FIG. 9B, the quantization error can be reduced by the amount of increase (or decrease) in VREF 815 per clock cycle.

Although quantization error can be reduced by using smaller quantization step sizes, area and performance speed may limit how far the quantization step can be reduced. With smaller quantization step size, the total number of quantization steps need to represent a particular range of charge quantities (and light intensity) may increase. A larger number of data bits may be needed to represent the increased number of quantization steps (e.g., 8 bits to represent 255 steps, 7 bits to represent 127 steps, etc.). The larger number of data bits may require additional buses to be added to pixel output buses 616, which may not be feasible if pixel cell 600 is used on a head-mounted device or other wearable devices with very limited spaces. Moreover, with a larger number of quantization step size, ADC 610 may need to cycle through a larger number of quantization steps before finding the quantity level that matches (with one quantization step), which leads to increased processing power consumption and time, and reduced rate of generating image data. The reduced rate may not be acceptable for some applications that require high frame rate (e.g., an application that tracks the movement of the eyeball).

One way to reduce quantization error is by employing a non-uniform quantization scheme, in which the quantization steps are not uniform across the input range. FIG. 10A illustrates an example of a mapping between the ADC codes (the output of the quantization process) and the input charge quantity level for a non-uniform quantization process and a uniform quantization process. The dotted line illustrates the mapping for the non-uniform quantization process, whereas the solid line illustrates the mapping for the uniform quantization process. For the uniform quantization process, the quantization step size (denoted by Δ_(I)) is identical for the entire range of input charge quantity. In contrast, for the non-uniform quantization process, the quantization step sizes are different depending on the input charge quantity. For example, the quantization step size for a low input charge quantity (denoted by Δ_(S)) is smaller than the quantization step size for a large input charge quantity (denoted by Δ_(L)). Moreover, for the same low input charge quantity, the quantization step size for the non-uniform quantization process (Δ_(S)) can be made smaller than the quantization step size for the uniform quantization process (Δ_(I)).

(Note: there is a typo in FIG. 10A, should be “non-uniform” instead of “none-uniform”

One advantage of employing a non-uniform quantization scheme is that the quantization steps for quantizing low input charge quantities can be reduced, which in turn reduces the quantization errors for quantizing the low input charge quantities, and the minimum input charge quantities that can be differentiated by ADC 610 can be reduced. Therefore, the reduced quantization errors can push down the lower limit of the measureable light intensity of the image sensor, and the dynamic range can be increased. Moreover, although the quantization errors are increased for the high input charge quantities, the quantization errors may remain small compared with high input charge quantities. Therefore, the overall quantization errors introduced to the measurement of the charges can be reduced. On the other hand, the total number of quantization steps covering the entire range of input charge quantities may remain the same (or even reduced), and the aforementioned potential problems associated with increasing the number of quantization steps (e.g., increase in area, reduction in processing speed, etc.) can be avoided.

FIG. 10B illustrates an example of quantizing an analog voltage by pixel ADC 610 using a non-uniform quantization process. Compared with FIG. 9B (which employs a uniform quantization process), VREF 815 increases in a non-linear fashion with each clock cycle, with a swallower slope initially and a steeper slope at a later time. The differences in the slopes are attributed to the uneven quantization step sizes. For lower counter count values (which correspond to a lower input quantity range), the quantization steps are made smaller, hence VREF 815 increases at a slower rate. For higher counter count values (which correspond to a higher input quantity range), the quantization steps are made larger, hence VREF 815 increases at a higher rate. The uneven quantization steps in VREF 815 can be introduced using different schemes. For example, as discussed above, DAC 813 is configured to output voltages for different counter count values (from counter 808). DAC 813 can be configured such that the difference in the output voltage between two neighboring counter count values (which defines the quantization step size) is different for different counter count values. As another example, counter 808 can also be configured to generate jumps in the counter count values, instead of increasing or decreasing by the same count step, to generate the uneven quantization steps. In some examples, the non-uniform quantization process of FIG. 10B can be employed for light intensity determination for low light intensity range 706 and medium light intensity range 708.

Reference is now made to FIG. 11, which illustrates an example of pixel cell 1100, which can be an embodiment of pixel cell 600 of FIG. 6. In the example of FIG. 11, PD can correspond to photodiode 602, transistor M0 can correspond to shutter switch 604, transistor M1 can correspond to transfer gate 606, whereas transistor M2 can correspond to reset switch 607. Moreover, PDCAP can correspond to residual charge capacitor 603, whereas a combination of COF and CEXT capacitors can correspond to measurement capacitor 608. The capacitance of measurement capacitor 608 is configurable by the signal LG. When LG is enabled, measurement capacitor 608 provides combined capacities of COF and CEXT capacitors. When LG is disabled, CEXT capacitor can be disconnected from the parallel combination, and measurement capacitor 608 comprises only COF capacitor (plus other parasitic capacitances). As discussed above, the capacitance of measurement capacitor 608 can be reduced to increase the charge-to-voltage conversion ratio for the low light intensity determination, and can be increased to provide the requisite capacity for the medium light intensity determination.

Pixel cell 1100 further includes an example of buffer 609 and an example of pixel ADC 610. For example, transistors M3 and M4 form a source follower which can be buffer 609 of FIG. 6 to buffer an analog voltage developed at the OF node, which represents a quantity of charges stored at the COF capacitor (or at the COF and CEXT capacitors). Further, the CC cap, comparator 1110, transistor M5, NOR gate 1112, together with memory 810, can be part of pixel ADC 610 to generate a digital output representing the analog voltage at the OF node. As described above, the quantization can be based on a comparison result (VOUT), generated by comparator 1110, between the analog voltage developed at the OF node and VREF. Here, the CC cap is configured to generate a VIN voltage (at one input of comparator 1110) which tracks the output of buffer 609, and provides the VIN voltage to comparator 1110 to compare against VREF. VREF can be a static voltage for time-of-saturation measurement (for high light intensity range) or a ramping voltage for quantization of an analog voltage (for low and medium light intensity ranges). The ADC code input can be generated by a free-running counter (e.g., counter 808), and the comparison result generated by comparator 1110 can determine the ADC code input to be stored in memory 810 and to be output as the digital representation of the incident light intensity. In some examples, the generation of VREF for low and medium light intensity determination can be based on a non-uniform quantization scheme as discussed in FIG. 10A and FIG. 10B.

Pixel cell 1100 includes techniques that can further improve the accuracy of the incident light intensity determination, in addition to the techniques disclosed above. For example, the combination of the CC cap and transistor M5 can be used to compensate for measurement errors (e.g., comparator offset) introduced by comparator 1110, as well as other error signals that are introduced to comparator 1110, such that the accuracy of comparator 1110 can be improved. The noise signals may include, for example, reset noise charges introduced by reset switch 607, a noise signal at the output of buffer 609 due to source follower threshold mismatches, etc. A quantity of charges reflecting the comparator offset as well as the error signals can be stored at the CC cap during a reset phase, when both transistors M2 and M5 are enabled. A voltage difference can also be developed across the CC cap during the reset phase due to the stored charges. During a measurement phase, the voltage difference across the CC cap remains, and the CC cap can track the output voltage of buffer 609 by subtracting away (or adding) the voltage difference to generate VIN. As a result, the VIN voltage can be compensated for the measurement errors and the error signals, which improves the accuracy of the comparison between VIN and VREF and the ensuing quantization.

In some examples, pixel cell 1100 can be operated in a three-phase measurement process. Each of the three phases can correspond one of the three light intensity ranges of FIG. 7 (e.g., low light intensity range 706, medium light intensity range 708, and high light intensity range 710). In each phase, pixel cell 1100 can be operated in a measurement mode targeted for the corresponding light intensity range, and determine whether the incident light intensity falls within the corresponding light intensity range based on the output of comparator 1110. If the incident light intensity falls within the corresponding light intensity range, pixel cell 1100 can latch the ADC code input (from counter 808) into memory 810, and put a lock (using a combination of the FLAG_1 and FLAG_2 signals) on memory 810 to prevent subsequent measurement phases from overwriting memory 810. At the end of the three-phase measurement process, the ADC code input stored in memory 810 can then be provided as the digital output representing the incident light intensity.

Reference is now made to FIGS. 12A-12D, which illustrate the change of the control signals of pixel cell 1100 for the three-phase measurement process with respect to time. Referring to FIG. 12A, the time period between T0 and T1 corresponds to a first reset phase, whereas the time period between T1 and T4 corresponds to the exposure period. Within the exposure period, the time period between T1 and T2 corresponds to a first phase of measurement for a high light intensity range (e.g., high light intensity range 710), the time period between T2 and T3 corresponds to a second phase of measurement for a medium light intensity range (e.g., medium light intensity range 708), whereas the time period between T3 and T4 corresponds to a second reset phase. Moreover, the time period between T4 and T5 corresponds to a third phase of measurement for a low light intensity range (e.g., low light intensity range 706). Pixel cell 1100 can provide the digital output representing the incident light intensity at time T5, and then start the next three-phase measurement process.

As shown in FIG. 12A, during the time period between T0 and T1 both RST1 and RST2 signals, as well as the LG signal, the TX signal, and the shutter signal, are asserted. As a result, the charges stored in the PDCAP capacitor, the CEXT capacitor, and the COF capacitor are removed. Moreover, no charges are added to the capacitors because the charges generated by photodiode PD are diverted away by transistor M0. Further, comparator 1110 is also in a reset phase, and the CC capacitor can store charges reflecting the reset noise introduced by M2, the comparator offset, the threshold mismatch of buffer 609, etc. Towards the end of the period, the TX gate is biased at a threshold level to trap a pre-determined number of charges (e.g., threshold 702) at PDCAP. The threshold level can be set based on a voltage corresponding to the pre-determined number of charges.

During the time period between T1 and T2, the shutter signal is de-asserted and the LG signal remains asserted, which allow the charges generated by the PD photodiode to flow into the PD capacitor and, if the voltage developed at the PD capacitor exceeds the threshold level set by TX, to flow into the COF capacitor and the CEXT capacitor. FIG. 12B illustrates the measurement operations performed by ADC 610 during that time period. As shown in FIG. 12B, ADC 610 can perform the time-to-saturation measurement, and the buffered and error-compensated version of analog voltage at the OF node (VIN) can be compared against a threshold voltage representing a quantity of charges of threshold 704 while counter 808 is free-running. If the total charges stored at the COF capacitor and the CEXT capacitor exceeds threshold 704 (based on the OF node voltage), comparator 1110 will trip, and the count value generated by counter 808 at the time of tripping can be stored into memory 810. The tripping of comparator 1110 also causes a register storing FLAG_1 to store a value of 1. The non-zero FLAG_1 value can cause the output of NOR gate 1112 to remain low regardless of other inputs to the NOR gate, and can lock the memory and prevent subsequent measurement phases from overwriting counter 808. On the other hand, if comparator 1110 never trips during the time period between T1 and T2, which indicates that the incident light intensity is below the high light intensity range, FLAG_1 stays zero. FLAG_2, which can be updated by subsequent measurement phases, stays at zero regardless of whether comparator 1110 trips.

During the time period between T2 and T3, which corresponds to the second phase of measurement, the analog voltage at the OF node can be quantized by ADC 610. FIG. 12C illustrates the measurement operations performed by ADC 610 during that time period. As shown in FIG. 12C, a ramping VREF can be supplied to comparator 1110 to be compared against the buffered and error-compensated version of analog voltage at the OF node (VIN). Although FIG. 12C shows a ramping VREF corresponding to a uniform quantization process, it is understood that the ramping VREF can also include non-uniform slopes corresponding to a non-uniform quantization process as described with respect to FIG. 10B. The second phase of measurement ends at T3, by which time the ADC input codes representing the entire medium incident light range have been cycled through. If the ramping VREF matches VIN (within one quantization step), comparator 1110 will trip, and the count value generated by counter 808 at the time of tripping can be stored into memory 810, if the memory is not locked by the first phase of measurement (as indicated by the zero value of FLAG_1). If the memory is locked, the count value will not be stored into memory 810. On the other hand, if the memory is not locked, the count value generated by counter 808 at the time of tripping can be stored into memory 810, and the memory can be locked by writing a value of 1 to a register storing FLAG_2.

At the beginning of the time period between T3 and T4, both RST1 and RST2 signals can be asserted again for a second reset phase. The purpose of the second reset phase is to reset the CEXT and COF capacitors, and to prepare the COF capacitor for storing charges transferred from the PDCAP capacitor in the third phase of measurement (for low light intensity range). The LG signal can also be de-asserted to disconnect the CEXT capacitor from the COF capacitor and to reduce the capacitance of measurement capacitor 608. The reduction of the capacitance is to increase the charge-to-voltage conversion ratio to improve the low light intensity determination, as discussed above. Comparator 1110 is also put into the reset state where the CC cap can be used to store the noise charges generated by the resetting of the CEXT and COF capacitors. Towards time T4, after the resetting completes, the RST1 and RST2 signals are de-asserted, whereas the bias TX can increase to fully turn on transistor M1. The charges stored in the PD cap can then move into the COF capacitor via M1.

During the time period between T4 and T5, the third phase of measurement is performed for the low light intensity range. During that period, the shutter signal is asserted to end the exposure period, whereas the TX signal is de-asserted to disconnect the PDCA capacitor and the PD photodiode from the COF capacitor, to ensure that that the COF capacitor, during the time of measurement, only stores the charges stored in the PDCAP capacitor during the exposure period. FIG. 12D illustrates the measurement operations performed by ADC 610 during that time period. As shown in FIG. 12D, a ramping VREF can be supplied to comparator 1110 to be compared against the buffered and error-compensated version of analog voltage at the OF node (VIN). Although FIG. 12D shows a ramping VREF corresponding to a uniform quantization process, it is understood that the ramping VREF can also include non-uniform slopes corresponding to a non-uniform quantization process as described with respect to FIG. 10B. The third phase of measurement ends at T5, by which time the ADC input codes representing the entire low incident light range have been cycled through. As shown in FIG. 12D, if the ramping VREF matches VIN (within one quantization step), comparator 1110 will trip, and the count value generated by counter 808 at the time of tripping can be stored into memory 810, if the memory is not locked by the first and second phases of measurement (as indicated by the zero values of FLAG_1 and FLAG_2). If the memory is locked, the count value will not be stored into memory 810. The count value stored in memory 810 can then be provided as a digital output representing the incident light intensity.

FIG. 13 is an example plot of signal-to-noise ratios across a set of incident light intensity ranges achievable by embodiments of the present disclosure. The signal-to-noise ratio (SNR) can be determined based on a ratio between a signal power representing the incident light intensity and the noise power. The noise power can include, for example, noise charges generated by the dark current, switching noises (e.g., read noise), device noises (e.g., shot noise), as well as errors introduced in the measurement of the signal power including, for example, the quantization errors, comparator offset, device mismatch, etc. As shown in FIG. 13, the SNR plot can be made smooth and continuous across the entire light intensity range, and at boundaries between neighboring intensity ranges. The smoothness of the SNR plot is desirable to ensure predictability in the performance of the pixel cell. In this example, the SNR plot can be made smooth due to the device noises (e.g., shot noise and dark current) mostly dominating other noises (e.g., noises generated by the measurement errors such as quantization errors, reset noise, etc.) throughout the set of incident light intensity ranges. Those noises can be reduced using the disclosed techniques, such as increasing charge-to-voltage conversion ratio for low light intensity measurement, non-uniform quantization, as well as compensation schemes for comparator offset, device mismatch, reset noises, etc.

FIG. 14 illustrates an embodiment of a flowchart of a process 1400 for determining incident light intensity at a pixel cell (e.g., pixel cell 600, pixel cell 1100, etc.). Process 1400 can be performed by a controller together with various components of pixel cell 600 and pixel cell 1100. Process 1400 begins in step 1402, where the pixel cell is operated in an exposure mode where the photodiode can transfer charges to the residual charge capacitor and/or the measurement capacitor. In step 1404, the pixel cell can be operated to compare a voltage developed at the measurement capacitor with a fixed threshold voltage to generate a first decision and a first count at the counter. Step 1404 can be the first measurement phase targeted for a high light intensity range, and the first count can represent a time-of-saturation measurement. If the first decision is positive (in step 1406), the pixel cell can proceed to step 1408 and store the first count in a memory and then lock the memory by asserting a first flag (e.g., FLAG_1), and then proceed to step 1410 to perform the second measurement phase. If the first decision is not positive, the pixel cell can also proceed directly to step 1410 to perform the second measurement phase.

In step 1408, the pixel cell is operated to compare the voltage developed at the measurement capacitor with a first ramping voltage to generate a second decision and a second count at the counter. Step 1408 can be the second measurement phase for a medium light intensity range. The pixel cell can then determine whether the second decision is positive, and whether the memory is not locked (e.g., based on first flag, FLAG_1 remains de-asserted), in step 1412. If the second decision is positive and the memory is not locked, the pixel cell can proceed to step 1414 and store the second count in the memory and lock the memory by asserting a second flag (e.g., FLAG_2), and then proceed to step 1416 to perform the second measurement phase. If the first decision is not positive, the pixel cell can also proceed directly to step 1416 to perform the third measurement phase.

In step 1416, as part of the third measurement phase, the pixel cell can reset the measurement capacitor to empty the stored charges. The pixel cell can also reduce the capacitance of the measurement capacitor to increase the charge-to-voltage conversion ratio, in step 1418. In step 1420, the pixel cell can transfer residual charges stored in the residual charge capacitor of the photodiode to the measurement capacitor. The pixel cell then proceeds to step 1422 to compare the voltage developed at the measurement capacitor with a second ramping voltage to generate a third decision and a third count at the counter. The pixel cell then proceeds to determine whether the third decision is positive and whether the memory is not locked (e.g., based on whether any one of first flag FLAG_1 and second flag FLAG_2 is asserted), in step 1424. If the third decision is positive and the memory is not locked, the pixel cell stores the third count in the memory in step 1426, and then proceeds to step 1428 to output the count value stored in the memory. On the other hand, if the third decision is not positive, or the memory has been locked, the pixel cell will proceed directly to step 1428 to output the count value (which can be one of the first count or the second count) stored in the memory.

The foregoing description of the embodiments of the disclosure has been presented for the purpose of illustration; it is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Persons skilled in the relevant art can appreciate that many modifications and variations are possible in light of the above disclosure.

Some portions of this description describe the embodiments of the disclosure in terms of algorithms and symbolic representations of operations on information. These algorithmic descriptions and representations are commonly used by those skilled in the data processing arts to convey the substance of their work effectively to others skilled in the art. These operations, while described functionally, computationally, or logically, are understood to be implemented by computer programs or equivalent electrical circuits, microcode, or the like. Furthermore, it has also proven convenient at times, to refer to these arrangements of operations as modules, without loss of generality. The described operations and their associated modules may be embodied in software, firmware, and/or hardware.

Steps, operations, or processes described may be performed or implemented with one or more hardware or software modules, alone or in combination with other devices. In some embodiments, a software module is implemented with a computer program product comprising a computer-readable medium containing computer program code, which can be executed by a computer processor for performing any or all of the steps, operations, or processes described.

Embodiments of the disclosure may also relate to an apparatus for performing the operations described. The apparatus may be specially constructed for the required purposes, and/or it may comprise a general-purpose computing device selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a non-transitory, tangible computer readable storage medium, or any type of media suitable for storing electronic instructions, which may be coupled to a computer system bus. Furthermore, any computing systems referred to in the specification may include a single processor or may be architectures employing multiple processor designs for increased computing capability.

Embodiments of the disclosure may also relate to a product that is produced by a computing process described herein. Such a product may comprise information resulting from a computing process, where the information is stored on a non-transitory, tangible computer readable storage medium and may include any embodiment of a computer program product or other data combination described herein.

The language used in the specification has been principally selected for readability and instructional purposes, and it may not have been selected to delineate or circumscribe the inventive subject matter. It is therefore intended that the scope of the disclosure be limited not by this detailed description, but rather by any claims that issue on an application based hereon. Accordingly, the disclosure of the embodiments is intended to be illustrative, but not limiting, of the scope of the disclosure, which is set forth in the following claims. 

What is claimed is:
 1. An apparatus comprising: a photodiode; a first charge storage unit configured to store charges generated by the photodiode, the first charge storage unit having a first capacity; a second charge storage unit configured to store charges generated by the photodiode, the second charge storage unit having a second capacity greater than the first capacity; and an analog-to-digital converter (ADC) circuit configured to: in a first mode of measurement: generate a first ramping voltage using a first counter; and compare a first voltage representing a first quantity of charges stored in the first charge storage unit against the first ramping voltage, to generate a first decision output, the first decision output setting a first count at the first counter; and in a second mode of measurement: generate a second ramping voltage using a second counter; and compare a second voltage representing a second quantity of charges stored in the second charge storage unit against the second ramping voltage, to generate a second decision output, the second decision output setting a second count at the second counter; and generate a digital output representing an intensity of light incident on the photodiode based on either the first count or the second count.
 2. The apparatus of claim 1, further comprising a transfer gate coupled between the first charge storage unit and the second charge storage unit; wherein in the second mode of measurement, the ADC circuit is configured to: control the transfer gate to prevent the first quantity of charges from moving through the transfer gate to the second charge storage unit; and compare, using a first comparator, the second voltage developed at the second
 3. The apparatus of claim 2, wherein in the first mode of measurement, the ADC circuit is configured to: control the transfer gate to enable the first quantity of charges to move through the transfer gate to the second charge storage unit; and compare, using a second comparator, the first voltage developed at the second charge storage unit against the first ramping voltage to generate the first count.
 4. The apparatus of claim 3, wherein the ADC circuit is configured to reset the second charge storage unit between the second mode of measurement and the first mode of measurement.
 5. The apparatus of claim 4, wherein the ADC circuit comprises a third capacitor coupled between the second charge storage unit and at least one of the first comparator or the second comparator; wherein the third capacitor is configured to store charges during the resetting of the second charge storage unit to compensate for at least one of: reset noise introduced to the second charge storage unit or an offset voltage of the at least one of the first comparator or the second comparator.
 6. The apparatus of claim 1, wherein the second capacity of the second charge storage unit is configurable; and wherein digital to analog circuit is configured to reduce the second capacity at the first mode of measurement and to increase the second capacity at the second mode of measurement.
 7. The apparatus of claim 1, wherein the ADC circuit is configured to perform the first mode of measurement after the second mode of measurement; wherein the ADC circuit is further configured to: determine, based on the first decision output and the second decision output, to store one of the first count or the second count in a memory; and provide the stored first count or second count in the memory as the digital output representing the intensity of the light.
 8. The apparatus of claim 1, wherein at least one of the first counter or the second counter is configured to generate, respectively, at least one of the first ramping voltage or the second ramping voltage to have a non-uniform ramping slope with respect to time.
 9. The apparatus of claim 1, wherein the ADC circuit is further configured to, in a third mode of measurement: compare the second voltage against a fixed threshold to generate a third decision output indicating whether the second voltage crosses the fixed threshold; and generate the digital output representing an intensity of light incident on the photodiode based a timing of the third decision output.
 10. The apparatus of claim 9, wherein the ADC circuit is further configured to, in the third mode of measurement: start a third counter after enabling the photodiode to transfer charges to the second charge storage unit; and setting a third count at the third counter with the third decision output; and wherein digital output representing the intensity of the light is generated based on the third count.
 11. The apparatus of claim 10, wherein the ADC circuit is configured to perform the third mode of measurement before the second mode of measurement and the first mode of measurement; wherein the ADC circuit is further configured to: store the third count in a memory; determine, based on the third decision output, not to overwrite the third count with the first count or the second count in the memory; and provide the stored third count in the memory as the digital output representing the intensity of the light.
 12. The apparatus of claim 1, wherein the first counter comprises the second counter.
 13. The apparatus of claim 3, wherein the first comparator comprises the second comparator.
 14. The apparatus of claim 10, wherein the first counter comprises the third counter.
 15. A method, comprising: exposing a photodiode to incident light to cause the photodiode to generate charges, wherein the photodiode is coupled with a first charge storage unit and a second charge storage unit, the first charge storage unit having a first capacity and the second charge storage unit having a second capacity greater than the first capacity; performing a first mode of measurement comprising: generating a first ramping voltage using a first counter; and comparing a first voltage representing a first quantity of charges stored in the first charge storage unit against the first ramping voltage, to generate a first decision output, the first decision output setting a first count at the first counter; performing a second mode of measurement comprising: generating a second ramping voltage using a second counter; and comparing a second voltage representing a second quantity of charges stored in the second charge storage unit against the second ramping voltage, to generate a second decision output, the second decision output setting a second count at the second counter; and generating a digital output representing an intensity of the incident light based on either the first count or the second count.
 16. The method of claim 15, wherein the first charge storage unit is coupled to second charge storage unit via a transfer gate; wherein performing the second mode of measurement further comprises: controlling the transfer gate to prevent the first quantity of charges from moving through the transfer gate to the second charge storage unit; and comparing the second voltage developed at the second charge storage unit against the second ramping voltage to generate the second count.
 17. The method of claim 16, wherein performing the first mode of measurement further comprises: controlling the transfer gate to enable the first quantity of charges to move through the transfer gate to the second charge storage unit; and comparing the first voltage developed at the second charge storage unit against the first ramping voltage to generate the first count.
 18. The method of claim 15, wherein at least one of the first ramping voltage or the second ramping voltage is generated to have a non-uniform ramping slope with respect to time.
 19. The method of claim 15, further comprising: performing a third mode of measurement comprising: comparing the second voltage against a fixed threshold to generate a third decision output indicating whether the second voltage crosses the fixed threshold; and generate the digital output representing an intensity of light incident on the photodiode based a timing of the third decision output, wherein the third mode of measurement is performed before the first mode of measurement and the second mode of measurement are performed.
 20. An apparatus comprising: a plurality of pixels, each pixel comprising: a photodiode; a first charge storage unit configured to store charges generated by the photodiode, the first charge storage unit having a first capacity; a second charge storage unit configured to store charges generated by the photodiode, the second charge storage unit having a second capacity greater than the first capacity; and an analog-to-digital converter (ADC) circuit configured to: in a first mode of measurement: generate a first ramping voltage using a first counter; and compare a first voltage representing a first quantity of charges stored in the first charge storage unit against the first ramping voltage, to generate a first decision output, the first decision output setting a first count at the first counter; and in a second mode of measurement: generate a second ramping voltage using a second counter; and compare a second voltage representing a second quantity of charges stored in the second charge storage unit against the second ramping voltage, to generate a second decision output, the second decision output setting a second count at the second counter; and generate a digital output representing an intensity of light incident on the photodiode based on either the first count or the second count. 